export default {
  methods: {
    lowerDataList() {
      // 上啦加载
      const that = this;
      if (!this.is_loading) {
        this.is_loading = true;
        this.query.currentPage += 1;
        this.get_data_list();
      }
    },
    get_details(url, val) {
      console.log(url, "url---");
      // 点击跳转详情
      uni.setStorageSync("details", val);
      uni.navigateTo({
        url: `./${url}/details`,
      });
    },
    // 上啦加载
    lower() {
      if (!this.is_loading) {
        this.query.currentPage += 1;
        this.get_data_list();
      }
    },
  },
};
